#ifndef QMYNormativ_H
#define QMYNormativ_H

#include "qmybasewidget.h"
#include "ui_qmyNormativ.h"
#include "qNormativvnes.h"
#include "qNormativkorekcija.h"
#include "qNormativlista.h"
#include "qnormativWizard.h"

class QMyNormativ : public QMyBaseWidget
{
	Q_OBJECT

public:
	QMyNormativ(QWidget *parent = 0);
	~QMyNormativ();
	void sendPrintMessage();
    QStandardItemModel* getModel();
    QStandardItemModel* getModel2();
    QStringList getIspratnicaInfo();
	virtual void refresh();
;

private:
	Ui::QMyNormativClass ui;
	QNormativVnes *NormativVnes;
	QNormativKorekcija *NormativKorekcija;
	QNormativLista *NormativLista;
    QNormativWizard *NormativWizard;

protected:
	virtual void pressF2();
	virtual void pressF3();
	virtual void pressF4();
	virtual void pressF6();
    virtual void pressEscape();
	void closeAllForm();
signals:
	void signCloseMyWidget();
	void signKomintentiFromIspratnica(QWidget*, QString);
	void signArtikliFromIspratnica(QWidget*, QString);
	void signPrint();
	void disablePrint(bool);
	void eupdateNanigator(QWidget*, QWidget*);

public slots:
	void closeWLista();
    void procF2();
    void procF3();
    void procF6();
    void procDel();
	void closeW();
	void callKomintenti(QWidget* myobj, QString text);
	void callArtikli(QWidget* myobj, QString text);
	void retNormativToNalog(QString& text, QString& textName);
};

#endif // QMYNormativ_H
